﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WMS_Api.Areas.RFSystem.Models
{
    /// <summary>
    /// 盘点托盘物料关系
    /// </summary>
    public class TrayCheckStorageCommandModel
    {
        /// <summary>
        /// 库存PID
        /// </summary>
        public string PID { get; set; }

        /// <summary>
        /// 任务号
        /// </summary>
        public long TaskID { get; set; }

        /// <summary>
        /// 任务类型
        /// </summary>
        public int TaskMode { get; set; }


        /// <summary>
        /// WMS 任务类型名称
        /// </summary>
        public string WMSTypeName { get; set; }

        /// <summary>
        /// 托盘码
        /// </summary>
        public string Tray_ID { get; set; }

        /// <summary>
        /// 货位编码
        /// </summary>
        public long PosS_ID { get; set; }

        /// <summary>
        /// 出库口
        /// </summary>
        public long PosE_ID { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string Mat_Code { get; set; }

        /// <summary>
        /// 物料二级编码
        /// </summary>
        public long Sec_Mat_ID { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string Mat_Name { get; set; }

        /// <summary>
        /// 物料数量
        /// </summary>
        public decimal Mat_Num { get; set; }

        /// <summary>
        /// 序列号
        /// </summary>
        public string TS01 { get; set; }

        /// <summary>
        /// 图号
        /// </summary>
        public string S05 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string S01 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string S02 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string TM01 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string TM03 { get; set; }

    }

    /// <summary>
    /// 盘点请求参数
    /// </summary>
    public class CheckStorageModel
    {
        /// <summary>
        /// 托盘码
        /// </summary>
        public string TrayId { get; set; }

        /// <summary>
        /// 物料库存Pid
        /// </summary>
        public string Pid { get; set; }

        /// <summary>
        /// 盘点数量
        /// </summary>
        public int MatNum { get; set; }


        /// <summary>
        /// 物料编码
        /// </summary>
        public string MatCode { get; set; }

        /// <summary>
        /// 序列号
        /// </summary>
        public string SerialNum { get; set; }

    }

    /// <summary>
    /// 补货托盘物料关系
    /// </summary>
    public class TrayReplenStorageCommandModel
    {
        /// <summary>
        /// 库存PID
        /// </summary>
        public long PID { get; set; }

        /// <summary>
        /// 托盘码
        /// </summary>
        public string Tray_ID { get; set; }

        /// <summary>
        /// 任务号
        /// </summary>
        public long TaskID { get; set; }

        /// <summary>
        /// 任务类型
        /// </summary>
        public int TaskMode { get; set; }


        /// <summary>
        /// WMS 任务类型名称
        /// </summary>
        public string WMSTypeName { get; set; }

        /// <summary>
        /// 货位编码
        /// </summary>
        public long PosS_ID { get; set; }

        /// <summary>
        /// 出库口
        /// </summary>
        public long PosE_ID { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string Mat_Code { get; set; }

        /// <summary>
        /// 物料二级编码
        /// </summary>
        public long Sec_Mat_ID { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string Mat_Name { get; set; }

        /// <summary>
        /// 入库单计划数量
        /// </summary>
        public decimal Num { get; set; }

        /// <summary>
        /// 入库单实际数量
        /// </summary>
        public decimal Act_Num { get; set; }

        /// <summary>
        /// 补货数量
        /// </summary>
        public decimal MAT_NUM { get; set; }

        /// <summary>
        /// 入库单
        /// </summary>
        public string StockNo { get; set; }

        /// <summary>
        /// 序列号
        /// </summary>
        public string TS01 { get; set; }

        /// <summary>
        /// 图号
        /// </summary>
        public string S05 { get; set; }

        /// <summary>
        /// 库存数量
        /// </summary>
        public decimal StockNum { get; set; }

    }

    /// <summary>
    /// 补货参数
    /// </summary>
    public class ReplenStorageModel
    {
        /// <summary>
        /// 托盘码
        /// </summary>
        public string TrayId { get; set; }

        /// <summary>
        /// 物料库存Pid
        /// </summary>
        public string Pid { get; set; }

        /// <summary>
        /// 盘点数量
        /// </summary>
        public int MatNum { get; set; }

    }


    /// <summary>
    /// 拣选托盘物料关系
    /// </summary>
    public class TrayChooseStorageCommandModel
    {
        /// <summary>
        /// 库存PID
        /// </summary>
        public long PID { get; set; }

        /// <summary>
        /// 托盘码
        /// </summary>
        public string Tray_ID { get; set; }

        /// <summary>
        /// 任务号
        /// </summary>
        public long TaskID { get; set; }

        /// <summary>
        /// 任务类型
        /// </summary>
        public int TaskMode { get; set; }


        /// <summary>
        /// WMS 任务类型名称
        /// </summary>
        public string WMSTypeName { get; set; }

        /// <summary>
        /// 货位编码
        /// </summary>
        public long PosS_ID { get; set; }

        /// <summary>
        /// 出库口
        /// </summary>
        public long PosE_ID { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public string Mat_Code { get; set; }


        /// <summary>
        /// 物料名称
        /// </summary>
        public string Mat_Name { get; set; }

        /// <summary>
        /// 出库单计划数量
        /// </summary>
        public decimal Num { get; set; }

        /// <summary>
        /// 出库单实际数量
        /// </summary>
        public decimal MAT_NUM { get; set; }

        /// <summary>
        /// 已出库数量
        /// </summary>
        public decimal Act_Num { get; set; }

        /// <summary>
        /// 入库单
        /// </summary>
        public string StockNo { get; set; }

        /// <summary>
        /// 序列号
        /// </summary>
        public string TS01 { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit_Base { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string S01 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string S02 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string TM01 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string TM03 { get; set; }

    }

    /// <summary>
    /// 补货托盘物料关系
    /// </summary>
    public class TrayReplenCommandRecordModel
    {
        /// <summary>
        /// 库存PID
        /// </summary>
        public long PID { get; set; }

        /// <summary>
        /// 托盘码
        /// </summary>
        public string TrayID { get; set; }

        /// <summary>
        /// 任务号
        /// </summary>
        public long TaskID { get; set; }

        /// <summary>
        /// 任务类型
        /// </summary>
        public int TaskMode { get; set; }
       
        /// <summary>
        /// 物料编码
        /// </summary>
        public string Mat_Code { get; set; }

        /// <summary>
        /// 物料二级编码
        /// </summary>
        public long Sec_Mat_ID { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string Mat_Name { get; set; }

        /// <summary>
        /// 入库单计划数量
        /// </summary>
        public decimal Num { get; set; }

        /// <summary>
        /// 入库单实际数量
        /// </summary>
        public decimal Act_Num { get; set; }

        /// <summary>
        /// 补货数量
        /// </summary>
        public decimal MAT_NUM { get; set; }

        /// <summary>
        /// 入库单
        /// </summary>
        public string StockNo { get; set; }

        /// <summary>
        /// 序列号
        /// </summary>
        public string TS01 { get; set; }

        /// <summary>
        /// 图号
        /// </summary>
        public string S05 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string S01 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string S02 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string TM01 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string TM03 { get; set; }

    }

}